package com.rongke.model;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.rongke.utils.DateJsonDeserializer;
import com.rongke.utils.DateJsonSerializer;
import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * @Share
 * @股票(后台)(share)
 * @version : Ver 1.0
 */
@TableName("share")
public class Share implements Serializable {
	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/**
	 * @备注:
	 * @字段:id BIGINT(19)
	 */
	@TableId(type = IdType.AUTO)
	private java.lang.Long id;


	/**
	 * @备注:股票码
	 * @字段:share_code VARCHAR(64)
	 */
	private java.lang.String shareCode;


	/**
	 * @备注:股票名称
	 * @字段:share_name VARCHAR(128)
	 */
	private java.lang.String shareName;

	/**
	 * @备注:股票类型
	 * @字段:share_type VARCHAR(128)
	 */
	private java.lang.String shareType;



	/**
	 * @备注:每股价值
	 * @字段:mgjzc DECIMAL(33)
	 */
	private java.lang.String mgjzc;


	/**
	 * @备注:权利金比例
	 * @字段:royalty STRING(255)
	 */
	private java.lang.String  royalty;


	/**
	 * @备注:类型1第三方接口2导入
	 * @字段:type INT(10)
	 */
	private java.lang.Integer type;


	/**
	 * @备注:1启用2禁用3删除
	 * @字段:status INT(10)
	 */
	private java.lang.Integer status;

	/**
	 *
	 * @字段:state INT(3)
	 */
	private java.lang.Integer state;


	/**
	 * @备注:
	 * @字段:gmt_datetime DATETIME(19)
	 */
	@JsonSerialize(using=DateJsonSerializer.class)
	@JsonDeserialize(using=DateJsonDeserializer.class)
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss" )
	private java.util.Date gmtDatetime = new java.util.Date();


	/**
	 * @备注:
	 * @字段:upt_datetime DATETIME(19)
	 */
	@JsonSerialize(using=DateJsonSerializer.class)
	@JsonDeserialize(using=DateJsonDeserializer.class)
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss" )
	private java.util.Date uptDatetime = new java.util.Date();


	public Share(){
	}

	public Share(
		java.lang.Long id
	){
		this.id = id;
	}



	public void setId(java.lang.Long id) {
		this.id = id;
	}

	public java.lang.Long getId() {
		return this.id;
	}


	public void setShareCode(java.lang.String shareCode) {
		this.shareCode = shareCode;
	}

	public java.lang.String getShareCode() {
		return this.shareCode;
	}


	public void setShareName(java.lang.String shareName) {
		this.shareName = shareName;
	}

	public java.lang.String getShareName() {
		return this.shareName;
	}


	public String getMgjzc() {
		return mgjzc;
	}

	public void setMgjzc(String mgjzc) {
		this.mgjzc = mgjzc;
	}

	public String getRoyalty() {
		return royalty;
	}

	public void setRoyalty(String royalty) {
		this.royalty = royalty;
	}

	public void setType(java.lang.Integer type) {
		this.type = type;
	}

	public java.lang.Integer getType() {
		return this.type;
	}


	public void setStatus(java.lang.Integer status) {
		this.status = status;
	}

	public java.lang.Integer getStatus() {
		return this.status;
	}


	public void setGmtDatetime(java.util.Date gmtDatetime) {
		this.gmtDatetime = gmtDatetime;
	}

	public java.util.Date getGmtDatetime() {
		return this.gmtDatetime;
	}


	public void setUptDatetime(java.util.Date uptDatetime) {
		this.uptDatetime = uptDatetime;
	}

	public java.util.Date getUptDatetime() {
		return this.uptDatetime;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public String getShareType() {
		return shareType;
	}

	public void setShareType(String shareType) {
		this.shareType = shareType;
	}
}
